package com.hero.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hero.content.model.dto.BindTeachplanMediaDto;
import com.hero.content.model.dto.TeachplanDto;
import com.hero.content.model.pojo.Teachplan;

import java.util.List;

/**
 * <p>
 * 课程计划 服务类
 * </p>
 *
 * @author itcast
 * @since 2022-12-14
 */
public interface TeachplanService extends IService<Teachplan> {

    List<Teachplan> selectTeachplanList(Long cid);

    void addTeachplan(Teachplan teachplan);

    void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    void delAassociationMedia(Long teachPlanId, String mediaId);

    List<TeachplanDto> findTeachplanTree(Long courseId);
}
